import defaultSettings from "@/settings";

const title = defaultSettings.title || "某某后台管理系统";

//设置页面的标题
export default function getPageTitle(pageTitle) {
    if (pageTitle) {
        return `${pageTitle} - ${title}`;
    }
    return `${title}`;
}